#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
#include "errsys.h"

int main(int argc, char **argv)
{
	char *p=malloc(13);
	strcpy(p,"Hello,World.");
    char *q=realloc(p,200);
    strcat(p,"I am Jun.");
	printf("%s\n",p);
	printf("buffer size:%d\n",strlen(p));

	return 0;
}

